package com.egghiro.j2se.game.sace.model.actor;

import com.egghiro.framework.j2se.game.core.model.actor.IActor;
import com.egghiro.framework.j2se.game.core.view.canvas.SGraphics;
import com.egghiro.framework.j2se.util.IterateRemover;

public abstract class FlyerComponent implements IActor {
    /**
     * 是否从父列表中自动清除当前FlyerComponent
     */
    protected boolean isAutoRemove;

    /**
     * 如果当前实例不包含此功能，将会抛出UnsupportedOperationException
     * 
     * @param flyerComponent
     */
    public void add(FlyerComponent flyerComponent) throws UnsupportedOperationException {
        throw new UnsupportedOperationException();
    }

    /**
     * 如果当前实例不包含此功能，将会抛出UnsupportedOperationException
     */
    public void act() throws UnsupportedOperationException {
        throw new UnsupportedOperationException();
    }

    /**
     * 如果当前实例不包含此功能，将会抛出UnsupportedOperationException
     */
    public void paint(SGraphics graphics) throws UnsupportedOperationException {
        throw new UnsupportedOperationException();
    }

    /**
     * 如果当前实例不包含此功能，将会抛出UnsupportedOperationException
     * 
     * @param itRemover
     * @throws UnsupportedOperationException
     */
    public void act(IterateRemover itRemover) throws UnsupportedOperationException {
        throw new UnsupportedOperationException();
    }

}
